package com.nbicc.common;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix ="my" )
public class MyValues {

    /**
     * redis 存储的新闻访问次数key
     */
    public final static String VISIT_COUNT = "visitCount";

    private String winfilepath;
    private String linuxfilepath;
    private String macfilepath;

    /**
     * 文件摘要长
     */
    private int digest;

}
